﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using WebApiV2.Data.Entity;
using WebApiV2.Domain.Enum;

namespace WebApiV2.Inteface.Log
{
    public interface ILog 
    {
        Logs GetLogById(int id);

        void Insert(Logs log);

        void Delete(Logs log);

        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, LogsLevel logLevel, int userId = 0);

        void Clear();
    }
}
